import 'dart:convert';
import 'package:crypto/crypto.dart';

class EncryptUtil {
  static String md5String(String data) {
    var bytes = utf8.encode(data);
    var digest = md5.convert(bytes);
    return digest.toString();
  }
}
